package com.java110.dto.product;

import com.java110.dto.PageDto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName FloorDto
 * @Description 商品定价数据层封装
 * @Author wuxw
 * @Date 2019/4/24 8:52
 * @Version 1.0
 * add by wuxw 2019/4/24
 **/
public class ProductPriceRuleDto extends PageDto implements Serializable {

    public static final String RULE_TYPE_PUBLIC ="1001";//普通
    public static final String RULE_TYPE_CHAIN ="2002";//普通

    public static final String PRICE_BASE = "1";//基于成本价
    public static final String PRICE_SALE_BASE = "2";//基于销售价
    public static final String PRICE_OT_BASE = "3";//基于市场价
    public static final String PRICE_OWNER_BASE = "4";//基于业主价
    public static final String PRICE_VIP_BASE = "5";//基于会员价

    private String deduction;
    private String ownerPrice;
    private String price;
    private String otPrice;
    private String vipPrice;
    private String ruleName;
    private String shopId;
    private String ruleId;
    private String ruleType;
    private String priceBase;
    private String otPriceBase;
    private String vipPriceBase;
    private String ownerPriceBase;


    private Date createTime;

    private String statusCd = "0";

    private List<ProductSpecValueDto> productSpecValueDtos;


    public String getDeduction() {
        return deduction;
    }

    public void setDeduction(String deduction) {
        this.deduction = deduction;
    }

    public String getOwnerPrice() {
        return ownerPrice;
    }

    public void setOwnerPrice(String ownerPrice) {
        this.ownerPrice = ownerPrice;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getOtPrice() {
        return otPrice;
    }

    public void setOtPrice(String otPrice) {
        this.otPrice = otPrice;
    }

    public String getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(String vipPrice) {
        this.vipPrice = vipPrice;
    }

    public String getRuleName() {
        return ruleName;
    }

    public void setRuleName(String ruleName) {
        this.ruleName = ruleName;
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public List<ProductSpecValueDto> getProductSpecValueDtos() {
        return productSpecValueDtos;
    }

    public void setProductSpecValueDtos(List<ProductSpecValueDto> productSpecValueDtos) {
        this.productSpecValueDtos = productSpecValueDtos;
    }

    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    public String getPriceBase() {
        return priceBase;
    }

    public void setPriceBase(String priceBase) {
        this.priceBase = priceBase;
    }

    public String getOtPriceBase() {
        return otPriceBase;
    }

    public void setOtPriceBase(String otPriceBase) {
        this.otPriceBase = otPriceBase;
    }

    public String getVipPriceBase() {
        return vipPriceBase;
    }

    public void setVipPriceBase(String vipPriceBase) {
        this.vipPriceBase = vipPriceBase;
    }

    public String getOwnerPriceBase() {
        return ownerPriceBase;
    }

    public void setOwnerPriceBase(String ownerPriceBase) {
        this.ownerPriceBase = ownerPriceBase;
    }
}
